import Layout from "@/views/layout/Layout";

export default [
  {
    path: "/my",
    component: Layout,
    hidden: true,
    children: [
      {
        path: "loginInfo",
        component: () => import("@/views/dashboard/myDashboard/loginInfo"),
        name: "我的信息",
        meta: { title: "我的信息" }
      }
    ]
  },
  {
    path: "/redirect",
    component: Layout,
    hidden: true,
    children: [
      {
        path: "/redirect/:path*",
        component: () => import("@/views/redirect")
      }
    ]
  },
  { path: "/", component: Layout, redirect: "/dashboard/dashboard" },
  {
    path: "/login",
    name: "login",
    component: () => import("@/views/login/index"),
    hidden: true
  },
  {
    path: "/404",
    component: () => import("@/views/errorPage/404"),
    hidden: true
  },
  {
    path: "/401",
    component: () => import("@/views/errorPage/401"),
    hidden: true
  }
]
